package com.mxpio.erp.equipment.service.impl;

import com.mxpio.erp.common.equipment.entity.EquipmentRepairEvaluateDetail;
import com.mxpio.erp.common.equipment.service.EquipmentRepairEvaluateDetailService;
import com.mxpioframework.jpa.query.Criteria;
import com.mxpioframework.jpa.query.Operator;
import com.mxpioframework.system.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EquipmentRepairEvaluateDetailServiceImpl extends BaseServiceImpl<EquipmentRepairEvaluateDetail> implements EquipmentRepairEvaluateDetailService {
    @Override
    public List<EquipmentRepairEvaluateDetail> selectByMainId(String mainId) {
        Criteria c = Criteria.create().addCriterion("bizNo", Operator.EQ, mainId);
        return list(EquipmentRepairEvaluateDetail.class,c);
    }


}
